package com.pojo;

public class User {
	// 用户id
	int u_id;
	// 用户名
	String u_username;
	// 用户密码
	String u_password;
	// 用户昵称
	String u_nickname;
	// 用户头像
	String u_image;
	// 部门id
	int d_id;
	// 用户邮箱
	String u_email;
	// 用户性别
	String u_sex;
	// 用户手机号
	String u_phone;
	// 用户加入时间
	String u_jointime;
	// 用户基本薪资
	private double u_salary;
	// 部门名称
	private String d_name;

	private String r_name;

	private int r_id;

	String u_homeress;
	//
	String u_idnum;
	//
	String u_married;

	public User() {
		super();
	}

	public User(int u_id, String u_username, String u_password, String u_nickname, String u_image, int d_id,
			String u_email, String u_sex, String u_phone, String u_jointime, double u_salary, String d_name,
			String r_name, int r_id) {
		super();
		this.u_id = u_id;
		this.u_username = u_username;
		this.u_password = u_password;
		this.u_nickname = u_nickname;
		this.u_image = u_image;
		this.d_id = d_id;
		this.u_email = u_email;
		this.u_sex = u_sex;
		this.u_phone = u_phone;
		this.u_jointime = u_jointime;
		this.u_salary = u_salary;
	}

	public User(int u_id, String u_username, String u_password, String u_nickname, String u_image, int d_id,
			String u_email, String u_sex, String u_phone, String u_jointime, double u_salary, String u_homeress,
			String u_idnum, String u_married) {
		super();
		this.u_id = u_id;
		this.u_username = u_username;
		this.u_password = u_password;
		this.u_nickname = u_nickname;
		this.u_image = u_image;
		this.d_id = d_id;
		this.u_email = u_email;
		this.u_sex = u_sex;
		this.u_phone = u_phone;
		this.u_jointime = u_jointime;
		this.u_salary = u_salary;
		this.u_homeress = u_homeress;
		this.u_idnum = u_idnum;
		this.u_married = u_married;
	}

	public User(int u_id, String u_username, String u_password, String u_nickname, String u_image, int d_id,
			String u_email, String u_sex, String u_phone, String u_jointime, double u_salary, String d_name,
			String r_name, int r_id, String u_homeress, String u_idnum, String u_married) {
		super();
		this.u_id = u_id;
		this.u_username = u_username;
		this.u_password = u_password;
		this.u_nickname = u_nickname;
		this.u_image = u_image;
		this.d_id = d_id;
		this.u_email = u_email;
		this.u_sex = u_sex;
		this.u_phone = u_phone;
		this.u_jointime = u_jointime;
		this.u_salary = u_salary;
		this.d_name = d_name;
		this.r_name = r_name;
		this.r_id = r_id;
		this.u_homeress = u_homeress;
		this.u_idnum = u_idnum;
		this.u_married = u_married;
	}

	public String getU_homeress() {
		return u_homeress;
	}

	public void setU_homeress(String u_homeress) {
		this.u_homeress = u_homeress;
	}

	public String getU_idnum() {
		return u_idnum;
	}

	public void setU_idnum(String u_idnum) {
		this.u_idnum = u_idnum;
	}

	public String getU_married() {
		return u_married;
	}

	public void setU_married(String u_married) {
		this.u_married = u_married;
	}

	public User(int u_id, String u_username, String u_password, String u_nickname, String u_image, int d_id,
			String u_email, String u_sex, String u_phone, String u_jointime, double u_salary, String d_name) {
		super();
		this.u_id = u_id;
		this.u_username = u_username;
		this.u_password = u_password;
		this.u_nickname = u_nickname;
		this.u_image = u_image;
		this.d_id = d_id;
		this.u_email = u_email;
		this.u_sex = u_sex;
		this.u_phone = u_phone;
		this.u_jointime = u_jointime;
		this.u_salary = u_salary;
		this.d_name = d_name;
	}

	public int getU_id() {
		return u_id;
	}

	public void setU_id(int u_id) {
		this.u_id = u_id;
	}

	public String getU_username() {
		return u_username;
	}

	public void setU_username(String u_username) {
		this.u_username = u_username;
	}

	public String getU_password() {
		return u_password;
	}

	public void setU_password(String u_password) {
		this.u_password = u_password;
	}

	public String getU_nickname() {
		return u_nickname;
	}

	public void setU_nickname(String u_nickname) {
		this.u_nickname = u_nickname;
	}

	public String getU_image() {
		return u_image;
	}

	public void setU_image(String u_image) {
		this.u_image = u_image;
	}

	public int getD_id() {
		return d_id;
	}

	public void setD_id(int d_id) {
		this.d_id = d_id;
	}

	public String getU_email() {
		return u_email;
	}

	public void setU_email(String u_email) {
		this.u_email = u_email;
	}

	public String getU_sex() {
		return u_sex;
	}

	public void setU_sex(String u_sex) {
		this.u_sex = u_sex;
	}

	public String getU_phone() {
		return u_phone;
	}

	public void setU_phone(String u_phone) {
		this.u_phone = u_phone;
	}

	public String getU_jointime() {
		return u_jointime;
	}

	public void setU_jointime(String u_jointime) {
		this.u_jointime = u_jointime;
	}

	public double getU_salary() {
		return u_salary;
	}

	public void setU_salary(double u_salary) {
		this.u_salary = u_salary;
	}

	public String getD_name() {
		return d_name;
	}

	public void setD_name(String d_name) {
		this.d_name = d_name;
	}

	public String getR_name() {
		return r_name;
	}

	public void setR_name(String r_name) {
		this.r_name = r_name;
	}

	public int getR_id() {
		return r_id;
	}

	public void setR_id(int r_id) {
		this.r_id = r_id;
	}

	@Override
	public String toString() {
		return "User [u_id=" + u_id + ", u_username=" + u_username + ", u_password=" + u_password + ", u_nickname="
				+ u_nickname + ", u_image=" + u_image + ", d_id=" + d_id + ", u_email=" + u_email + ", u_sex=" + u_sex
				+ ", u_phone=" + u_phone + ", u_jointime=" + u_jointime + ", u_salary=" + u_salary + ", d_name="
				+ d_name + ", r_name=" + r_name + ", r_id=" + r_id + ", u_homeress=" + u_homeress + ", u_idnum="
				+ u_idnum + ", u_married=" + u_married + "]";
	}

}
